<%@ page language="java" contentType="text/html; charset=UTF-8"   pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
 
	  <script type="text/javascript" src="${jspath}/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
tinymce.init({
   selector: "#case_handle_content ,#case_cure_result ",
     menubar: false,
     width:'90%',
  //  language : 'zh_CN',
   language_url : '${jspath}/js/tinymce/langs/zh_CN.js',
    theme_url: '${jspath}/js/tinymce/themes/modern/theme.min.js',
    skin_url: '${jspath}/js/tinymce/skins/lightgray'
 });
 
 
</script>
	<div class="not_right" >
		<div class="not_righttitle">
			<div class="not_righttitle01"> <a href="#">我的案例</a> &nbsp;&gt;&nbsp;<c:choose>
<c:when test="casevo ==null">新增案例</c:when>
<c:otherwise>修改案例</c:otherwise>
</c:choose></div> 
 			
 <div id="addform"	class="not_righttb" style="width:98%;">
 <input type="hidden" id="case_id" value="${case_id}">
 		<div class="add_notetitle" style="height:40px;"> 案例分类：
		<select style="height:25px;width:80px;font-size:12px;padding:0;margin:0;outline:none;" id="case_tp">
		<c:forEach var="cn" items="${codename}" varStatus="cnstatus">
				<option  value='${cn.code}'   
				<c:if test="${cn.code==casevo.case_tp}" >selected=“true”</c:if>
				 >${cn.name}</option>
				</c:forEach> 
</select> 
</div> 
			<div class="add_notetitle" style="height:70px;"> 案例名称：<br/>
				<input type="text" style="width:90%;outline:none;" id="title" value="${casevo.tilte}"/>
</div>
	<div class="add_notecontent"> 来访者信息：<br/>
		<textarea style="width:90%;height:100px;outline:none;" id="case_visitor">${casevo.case_visitor}</textarea>
	</div>
	
	<div class="add_notecontent">来访者主述：<br/>
		<textarea style="width:90%;min-height:150px;height:auto;outline:none;" id="case_visitor_say"  >${casevo.case_visitor_say}</textarea>
	</div>
	
	<div class="add_notecontent" > 咨询目标与治理方法：<br/>
		<textarea  style="width:90%;height:150px;outline:none;" id="case_handle_content"  >${casevo.case_handle_content}</textarea>
<input type="hidden" value="${casevo.case_handle_content_id}" id="case_handle_content_id">
	</div> 
	<div class="add_notecontent">治疗结果：<br/>
		<textarea style="width:90%;height:150px;outline:none;" id="case_cure_result"  >  ${casevo.case_cure_result}</textarea>
       <input type="hidden" value="${casevo.case_cure_result_id}" id="case_cure_result_id">
	</div> 
	<div class="add_notebutton" style="margin-top:30px;">
	
	<a href="#" class="add_notebutton02" style="margin-left:20px;float:right;margin-right:30px;" onClick="getStudentDiv('case')"> 取消 </a> 
		<input class="add_notebutton01" type="button" value="分享案例" style="float:right;border:none;outline:none;" onclick="savecase()" >
		</div> 
	 
		</div> 
		</div>
		</div>
	 
 
	
	
 

	 
 